.el-switch {
  font-size: rem(14px);
  line-height: rem(20px);
  height: rem(20px);

  .el-switch__label--left {
    margin-right: rem(10px);

    span {
      font-size: rem(14px);
    }
  }

  .el-switch__label--right {
    margin-left: rem(10px);

    span {
      font-size: rem(14px);
    }
  }

  .el-switch__label {
    font-size: rem(14px);
    height: rem(20px);
  }

  .el-switch__core {
    width: rem(40px) !important;
    height: rem(20px);
    border-radius: rem(10px);
  }

  .el-switch__core:after {
    width: rem(16px);
    height: rem(16px);
  }
}

.el-switch.is-checked .el-switch__core::after {
  margin-left: rem(-17px);
}
